package com.sumainfor.pc.gmio.fallback.ZfallBack;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.gmio.feign.Zfeign.ZpcMktFeign;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 调用市场部服务
 */

@Component
public class ZpcMarketFallback implements ZpcMktFeign {

    @Override
    public JsonResult getHouInfoListForEwg(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouInfoListForGmio(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouInfoListForGmioTcmkt(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getCommunityName() {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouInfoListForBillParticular(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouInfoListForDbill(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getTenSysUserInfoListForGmio(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouInfoListForDi(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoulivecardList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getTenantListByTenId(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoPactList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult updatePactForSe(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult updatePactForSeNo(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouTemporaryList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult updatePactRent(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getBla(){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouPactApplyList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult updateRdHouSmart(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRdRenPactInfo(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult updatePactByRent(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getAllHousingList() {return JsonResult.error("服务器繁忙...");}

    @Override
    public JsonResult forRenewal(Map<String,Object> params){

        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getComIdList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouInfoList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRdInteHouConInfoList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRdPactTrade(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRdStaffList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRdRenewalTenInfoList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getTenantList() {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getWithHouConInfoList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙,请稍后重试！");
    }

    @Override
    public JsonResult getTpTemplate(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getCleanHousingList(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getAssignHousekeeperCount(){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouConPactListCount(){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRoundsAbnormalCount(){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getForRenewal(){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getPactByPaIdMap(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public Map<String,Object> getPcatInfoByPaIdAndTenIdMap(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public List<String> getHouseIdListByBuildAndRoom(Map<String, Object> params) {
        return null;
    }

    @Override
    public List<Map<String, Object>> getFugjTrainingList(String search) {
        return new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> getTenByPhone(String search) {
        return new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> getFumsHouInfoList(String search) {
        return  new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> getZhzgHouIdList(String search) {
        return new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> YyzlOwnerList(String search) {
        return new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> getTenantPact(String HouId) {
        return new ArrayList<>();
    }

    @Override
    public JsonResult getHouInfoPayment(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");}

    @Override
    public List<Map<String, Object>> getHouInfoNum(Map<String, Object> params) {
        return new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> getHouPact(Map<String, Object> params) {
        return new ArrayList<>();
    }

    @Override
    public JsonResult getPactNumHou(Map<String, Object> params, Pager pager) {
        return JsonResult.error("市场部服务器繁忙");
    }

    @Override
    public JsonResult getHouId(Map<String, Object> params, Pager pager) {
        return JsonResult.error("市场部服务器繁忙");
    }

    @Override
    public JsonResult getInfoStatus(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙");
    }

    @Override
    public JsonResult getCorId(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙");
    }

    @Override
    public JsonResult getIntelligentRoom(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙");
    }

    @Override
    public List<Map<String, Object>> getHoulist(Map<String, Object> params) {
        return new ArrayList<>();
    }
}
